import App from './App';
import uView from '@/uni_modules/uview-ui'
//import qs from 'qs';

Vue.use(uView)

uni.$u.config.unit = 'rpx'

import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()


//Vue.prototype.$url = 'https://xr.zbifc.com/';
Vue.prototype.$url = '/api';

window.onload = function() {
    document.addEventListener('touchstart', function(event) {
            if (event.touches.length > 1) {
                event.preventDefault()
            }
    });
    document.addEventListener('gesturestart', function(event) {
        event.preventDefault()
    });
}
